<?php
echo $this->headScript()->
        appendFile($this->baseUrl() . "/js/jquery-1.7.1.js")->
        appendFile($this->baseUrl() . "/js/bootstrap/bootstrap.js")->
        appendFile($this->baseUrl() . "/js/jquery.validate.js");

echo $this->headLink()
        ->setIndent('  ')
        ->prependStylesheet($this->baseUrl() . "/css/bootstrap/bootstrap.css")
        ->prependStylesheet($this->baseUrl() . "/css/bootstrap/bootstrap-responsive.css");
?>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" >
    <title>Virtual Labs Manager</title>
    <style>
        tr,td{
            padding: 10px;
        }
        #logo{margin: 20px;}
        a{
            text-align: right;
            text-decoration: none;
            font-size: 10px;
            color: #49AFCD;
            top: 0;
            float: right;
        }
        #forgot{
            margin: 0;
            padding: 0;
            font-size:11px;
            height: 11px;
            line-height: 11px;
        }
    </style>
    <script type="text/javascript">
        function hideAlert() {
            $("#value-alert").hide(1000);
        }
        $(document).ready(function() {
            setTimeout("hideAlert()", 7500);

            $("#login-form").validate({
                rules: {
                    key: {
                        required: true
                    }
                },
                messages: {
                    username: "Username/email requerido"
                }
            });
        });
    </script>
</head>
<div class="span9" style="margin: 30px;">
    <div id="logo">   
        <h1>Virtual Labs Manager</h1>
    </div>
    <div id="login" >

        <form id="loginforgot-form" action="<?php echo $this->url(array('module' => 'admin', 'controller' => 'login', 'action' => 'loginforgot')); ?>" method="post">
            <table>
                <tr><td>username/email</td><td><input type="text" id="key" name="key"></td></tr>
                <tr><td><button  class="btn btn-inverse" >Send</button></td><td></td></tr>
                <?php echo $this->loginError; ?>
            </table>
        </form>
    </div>
</div>